#ifndef UGUITHREAD_H
#define UGUITHREAD_H

#include <QThread>
#include <QString>
#include <QMap>

class UguiThread : public QThread
{
    Q_OBJECT
public:
    explicit UguiThread(QObject *parent = 0);
    void WriteText(QString text);
    void WriteLine(QString name, QString price, int index);
    void Clear();
    void WriteAll(QString total, QMap<QString, QString> tabList);
protected:
    void run();
private:
    int fd0;
};

#endif // UGUITHREAD_H
